﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Test6
{
    class Course
    {
        public string name;
        public int hour;
        public long price;

        public string Name
        {
             get 
            {
                return name;
            }
            set
            {
                name = value;
            }
        }


              public int  Hour
        {
            get
            {
                return hour;
            }
            set
            {
                hour = value;
            }
        }


        public long Price
        {
            get
            {
                return price;
            }
            set
            {
                price = value;
            }
        }
    }
}
